<template>
	<view class="content">
		<view class="main">
			<!-- 标头 -->
			<navgatsVue :navigationMsg="navigationMsg"></navgatsVue>
			<!-- 黄色卡片区域 -->
			<view class="yellow">

				<view class="yellow_top">
					<view class="yellow_topzuo">
						<p style="font-size: 25rpx; color:#8F7000;margin-top: 30rpx;margin-left: 40rpx;">金币余额</p>
						<b style="font-size: 60rpx;margin-left: 40rpx;">0.21</b>
					</view>

				</view>

			</view>
			<!-- 明细区域 -->
			<view class="hs">
				<b style="font-size: 35rpx;line-height: 100rpx;margin-left: 5rpx;">金币明细</b>
			</view>
			<!-- 列表区域 -->
			<view class="lists" style="border-bottom: 1px solid #ccc;">
				<view class="list_zuo">
					<p style="font-size: 35rpx;margin-left: 5rpx;margin-top: 30rpx;">消费返还</p>
					<p style="font-size: 30rpx;color: #ccc;margin-left: 5rpx;margin-top: 10rpx;">2025-03-15 16:52:06</p>
				</view>
				<view class="list_you">
					<p style="font-size: 45rpx;line-height: 150rpx;position: absolute;right: 0;">+0.01</p>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import navgatsVue from '../../../common/navgats/navgats.vue';
	export default {
		data() {
			return {
				navigationMsg: {
					title: "余额",
					bgColor: "#f6f6f6"
				}
			}
		},
		components: {
			navgatsVue
		},
		methods: {

		}
	}
</script>

<style>
	.content {
		width: 100vw;
		height: 100vh;
		/* position: absolute; */
		background-color: #F6F6F6;
		// display: flex;
		// flex-direction: column;
		// align-items: center;
		overflow-y: auto;
	}

	.main {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.yellow {
		width: 90%;
		height: 200rpx;
		background-color: #FBD748;
		border-radius: 20rpx;
		margin-top: 20rpx;
		overflow: hidden;
	}

	.yellow_top {
		width: 100%;
		height: 60%;
		display: flex;
	}

	.yellow_btm {
		width: 100%;
		height: 40%;
		display: flex;
	}

	.yellow_topzuo {
		width: 50%;
		height: 100%;
	}

	.yellow_topyou {
		width: 50%;
		height: 100%;
	}

	.hs {
		width: 90%;
		height: 100rpx;
	}

	.lists {
		width: 90%;
		height: 150rpx;
		display: flex;
	}

	.list_zuo {
		width: 50%;
		height: 100%;

	}

	.list_you {
		width: 50%;
		height: 100%;
		position: relative;
	}
</style>